using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.LdtAnalysissource {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class CaseLists {

		[JsonProperty, Column(DbType = "varchar(500)", IsPrimary = true, IsNullable = false)]
		public string ID { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string AskName { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string CaseCause { get; set; } = "";

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string CaseType { get; set; } = "";

		[JsonProperty, Column(InsertValueSql = "getdate()")]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string OutRelationID { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string SourceCode { get; set; } = "";

		[JsonProperty]
		public int State { get; set; } = 0;

		[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
		public string SystemCode { get; set; }

		[JsonProperty, Column(InsertValueSql = "getdate()")]
		public DateTime? UpdTime { get; set; }

	}

}
